package com.fare.taluo.vo.core;


import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;

@JsonAutoDetect(fieldVisibility=Visibility.ANY)
public class LowestPriceQueryVo extends AnalyseBaseVo{
	
	
	/**
	 * 承运人
	 */
	public String carrier = "";
	
	/**返程承运人*/
	public String roundCarrier = "";
	
	
	/**
	 * 最低价
	 */
	public String price  = "";

	/**
	 * 起飞时间
	 */
	public String depTime  = "";
	
	/**返程起飞时间*/
	public String roundDepTime = "";
	
	
	/**
	 * 降落时间
	 */
	public String arrTime = "";
	
	/**返程降落时间*/
	public String roundArrTime = "";
	
	
	/**
	 * 代理人名称
	 */
	public String agentName = "";
	
	
	/**
	 * 订票类型
	 */
	public String bookingType = "";
	
	public String sequenceNumber = "";
	
	
	public LowestPriceQueryVo(){
		
	}
	
	public LowestPriceQueryVo(PlaneInfo planeInfo, String bookingType) {
		this.carrier = planeInfo.getCarrierFullName();
		this.price = planeInfo.getLowprPrice();
		this.agentName = planeInfo.getAgentName();
		this.bookingType = bookingType;
		this.line = planeInfo.getFromCity() + "-" + planeInfo.getToCity();
		this.siteName = planeInfo.getGrabChannel();
		this.flightNo = planeInfo.getFlightId();
		this.date = planeInfo.getFlightBatchDate();
		this.depTime = planeInfo.getFlightBatchStartTime();
		this.arrTime = planeInfo.getFlightBatchEndTime();
		this.roundDate = planeInfo.getRoundFlightBatchDate();
		this.roundDepTime = planeInfo.getRoundFlightBatchStartTime();
		this.roundArrTime = planeInfo.getRoundFlightBatchEndTime();
		this.roundCarrier = planeInfo.getRoundCarrierFullName();
	}

	
	
	public String getCarrier() {
		return carrier;
	}

	public void setCarrier(String carrier) {
		this.carrier = carrier;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getDepTime() {
		return depTime;
	}

	public void setDepTime(String depTime) {
		this.depTime = depTime;
	}

	public String getArrTime() {
		return arrTime;
	}

	public void setArrTime(String arrTime) {
		this.arrTime = arrTime;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getBookingType() {
		return bookingType;
	}

	public void setBookingType(String bookingType) {
		this.bookingType = bookingType;
	}

	public String getSequenceNumber() {
		return sequenceNumber;
	}

	public void setSequenceNumber(String sequenceNumber) {
		this.sequenceNumber = sequenceNumber;
	}

	public String getRoundCarrier() {
		return roundCarrier;
	}

	public void setRoundCarrier(String roundCarrier) {
		this.roundCarrier = roundCarrier;
	}

	public String getRoundDepTime() {
		return roundDepTime;
	}

	public void setRoundDepTime(String roundDepTime) {
		this.roundDepTime = roundDepTime;
	}

	public String getRoundArrTime() {
		return roundArrTime;
	}

	public void setRoundArrTime(String roundArrTime) {
		this.roundArrTime = roundArrTime;
	}
	
	
	
}
